package com.tct.dubbo;

import com.tct.constant.TransConstant;
import com.tct.dto.FutureResultVo;
import com.tct.dto.StorageVo;
import com.yiqiniu.easytrans.protocol.BusinessIdentifer;
import com.yiqiniu.easytrans.protocol.tcc.TccMethodRequest;

import java.util.List;

/**
 * @author TcT
 * Date: 2019/6/28.
 * Time: 上午9:12.
 * @Title:
 * @Description:
 */
@BusinessIdentifer(appId= TransConstant.APPID,busCode="pay",rpcTimeOut=2000)
public interface BDubboService extends TccMethodRequest<FutureResultVo> {

    void save(StorageVo account);//持久化

    List<StorageVo> findAll();//获取所有
}
